package com.young.exception;

/**
 * 描述:
 *
 * @author BluceYoung
 * @create 2020-12-04 9:40
 * B站：TeacherYoung凌风
 * www.teacheryoung.com
 */
public class NoRollbackException extends  RuntimeException {
    /**
     * Constructs a new runtime exception with {@code null} as its
     * detail message.  The cause is not initialized, and may subsequently be
     * initialized by a call to {@link #initCause}.
     */
    public NoRollbackException() {
    }

    /**
     * Constructs a new runtime exception with the specified detail message.
     * The cause is not initialized, and may subsequently be initialized by a
     * call to {@link #initCause}.
     *
     * @param message the detail message. The detail message is saved for
     *                later retrieval by the {@link #getMessage()} method.
     */
    public NoRollbackException(String message) {
        super(message);
    }
}

